lionsApp
    .controller('alldoneCtrl', ['$scope', '$state', 'lionsHttp', function ($scope, $state, lionsHttp) {
        lionsHttp.allDone({}, {}, function (data) {
            $scope.allData = data.data
        })
        lionsHttp.total({}, {}, function (data) {
            $scope.totalAmount = data.data.total
            $scope.totalTimes = data.data.number
        })
    }])